import './assets/main.css'  
  
import { createApp } from 'vue'  
import App from './App.vue'  
import router from './router.js' // 确保 router.js 正确地导出了路由实例  
  
const app = createApp(App)  
app.use(router) // 在这里安装路由  
app.mount('#app') // 挂载应用到页面上